package homework;

import java.util.Scanner;

public class Demo2 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个整数");
        long a = scanner.nextLong();
        if (a>0){
            System.out.println("您输入的数大于零");
        }
        else if (a==0){
            System.out.println("您输入的数等于零");
        }
        else if (a<0){
            System.out.println("您输入的数小于零");
        }
        else {
            System.out.println("您输入的数值有误！");
        }
    }
}
